from django.urls import path

from .views import news, category, detail,comment

app_name = 'newsm'
urlpatterns = [
    path('news/',news,name='news'),
    path('detail/<int:id>',detail,name='detail'),
    path('category/',category,name='category'),
    path('comment/<int:newId>',comment,name='comment')

]